<?php

class CouponForm extends CFormModel
{

    //put your code here
    public $value;
    public $amount;
    public $from_date;
    public $to_date;
    
    public function rules()
    {
        return array(
            // name, email, subject and body are required
            array('value, from_date, to_date, amount', 'required'),
        );
    }

    public function attributeLabels()
    {
        return array(
        );
    }

}
